import { makeAutoObservable } from "mobx";
import * as loginApi from "../api/login";
class Store{
    
    constructor() {
        makeAutoObservable(this);
    }
    //登录
    login = [];
    //更新精品歌单
    *updatelogin() {
        // 发请求
        const res = yield loginApi.getLogin();
        this.login = res;
    }
}
export default new Store();
